cmake_minimum_required(VERSION 2.6)

set(LGE_CORE
	src/core/lge_thread.cpp
)

set(LGE_MATH
)

set(LGE_JOB
	src/job/lge_jobsubsystem.cpp
)

set(LGE_GRAPHICS
	src/graphics/lge_graphicssubsystem.cpp
)

set(LGE_APP
	src/engine.cpp
)

include_directories(
	./inc
	./libs/glext/inc
)

add_executable(LGE
	${LGE_CORE}
	${LGE_MATH}
	${LGE_JOB}
	${LGE_GRAPHICS}
	${LGE_APP}
)

set_target_properties(LGE PROPERTIES VERSION 0.0.1)

target_link_libraries(
	LGE
	opengl32
	glu32
)
